home *** CD-ROM | disk | FTP | other *** search
/ Executor 2.0 / executorv2.0.iso / pc / dos / extra / library / demoware / asymptot.hqx / Asymptote 1.1 Demo / Asymptote Startup < prev    next >
Encoding:
Text File  |  1994-11-01  |  2.1 KB  |  61 lines

  1. % Asymptote runs this script every time it starts up.
  2. %
  3. %    If you don't want the start up script to run, select
  4. %    File>Options>Preferences and disable this option.
  5. % You can use this Startup script to change the default
  6. % values for the graphics environment or to perform some
  7. % function every time Asymptote starts up.
  8. %
  9. % After Asymptote runs the Startup script, it records
  10. % the settings of the graphics environment such as pensize
  11. % font, graphframe, etc.
  12. %
  13. % Every time you run the Recorder, Asymptote restores the
  14. % parameters of the graphics environment to the values they
  15. % had when this Startup script finished running.  
  16. % ----------------------------------------------------------
  17.  
  18. % These are some examples of what you can do with the
  19. % Startup script.  Feel free to make any changes you like.
  20.  
  21. % Choose to measure graph coordinates in inches:
  22. graphunits in
  23.  
  24. % Uncomment this line to use centimeters instead:
  25. % graphunits cm              
  26. % Note: If you choose to use centimeters, make sure you use the
  27. % alternate graphframe command below.
  28.  
  29. % Make the default graphics area square and put it roughly
  30. % in the center of the page (in inches):
  31. graphframe 2 7 2 7
  32. % graphframe 5 18 5 18      % same thing but in centimeters:
  33.  
  34. % Make Helvetica the default font for graph labels:
  35. fontname Helvetica
  36.  
  37. % Use these commands to change the default size
  38. % for points, tickmarks and labels when scale = 1.0.
  39. fontsize 12        % Default size of labels (in points)
  40. pointsize 6        % Default size for point symbols (in points)
  41. ticksize 12        % Default length of tick marks (in points)
  42. pensize 0.25    % hairline
  43.  
  44. % You can change any of the other parameters of the 
  45. % graphics environment (such as pencolor, etc.) to have 
  46. % these become the new default values.
  47.  
  48. % The following command runs a script that sets a number
  49. % of useful physical constants.  Uncommon the next two 
  50. % lines if you want to have Asymptote set these constants:
  51.  
  52. % Constants
  53. % close Constants
  54.  
  55. % You probably don't want the start up script to remain 
  56. % open after it runs so put the closewindow command at 
  57. % the end to close this window once the script finishes 
  58. % running.
  59. closewindow
  60.